﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ZLDC.Estate.TM
{
    public partial class ls_RoomList : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                GetTable();
                // dropCity.SelectedValue = ZLDC_DBUtility.Utility.CompID;
            }
        }
        public void GetTable()
        {
            ls_RoomList1.TableName = "t_roomno";
            ls_RoomList1.Filed = "{ display: 'id', name: 'ID', width: 80, sortable: true, align: 'center' },";
            ls_RoomList1.Filed += " { display: 'bname', name: 'bname', width: 140, sortable: false, align: 'left' },";
            ls_RoomList1.Filed += " { display: 'name', Remark: 'name', width: 120, sortable: false, align: 'left' },";
            ls_RoomList1.Filed += " { display: 'bid', name: 'bid', width: 60, sortable: false, align: 'left' }";
            ls_RoomList1.TableID = "id";
            ls_RoomList1.Width = "900";
            ls_RoomList1.Height = "200";
            ls_RoomList1.Where = " ";
            //if (dropCity.SelectedValue != "")
            //{
            //    Control11.Where += " and WordTypeID="+dropCity.SelectedValue;
            //}
        }
    }
}
